home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / THINKC / 3_0 / MENUDEMO / MENU.R < prev   
Text File  |  1989-02-09  |  803b  |  53 lines

  1. *  menu.r -- Resource definition file for MenuDemo.
  2. * NOTE: after running RMaker on this file, you need to use ResEdit
  3. * to set the menus' proc-id to 400 (the custom MDEF's resource ID).
  4. *
  5. * The RMaker documentation I have doesn't say how to set a menu's ProcID.
  6.  
  7. BHN2:menu:menuproj.rsrc
  8. ????????
  9.  
  10. * include resources built with ResEdit.
  11. INCLUDE BHN2:menu:menu.res
  12. * include the menu definition resource
  13. INCLUDE BHN2:menu:crush.mdef
  14.  
  15. Type MENU
  16. ,1(4)
  17. \14
  18. About MenuDemo...
  19.  
  20. ,2(4)
  21. File
  22. Quit/Q
  23.  
  24. ,3(4)
  25. Demo
  26. One Thing
  27. Another
  28. Yet Another/B
  29. (-
  30. !\12Still Another
  31. More and More<I
  32. Loads of Stuff
  33. An^4 Icon
  34. (Disabled/T
  35. Enabled With More...
  36.  
  37. * (note: that's "STR ", not "STR")
  38. TYPE BN66 = STR 
  39. ,0
  40. MenuDemo Version 1.0 -- February 4, 1989
  41.  
  42. Type BNDL
  43. ,128(32)
  44. BN66 0
  45. ICN#
  46. 0 128
  47. FREF
  48. 0 128
  49.  
  50. Type FREF
  51. ,128(32)
  52. APPL 0
  53.